package cn.zy.order.service;

import cn.zy.basic.query.BaseQuery;
import cn.zy.basic.util.PageList;
import cn.zy.order.domain.OrderPetAcquisition;
import cn.zy.basic.service.IBaseService;
import cn.zy.order.dto.OrderDto;
import cn.zy.order.query.OrderPetAcquisitionQuery;
import org.apache.poi.ss.formula.functions.T;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zy
 * @since 2023-02-21
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {
    PageList<OrderPetAcquisition> queryPage(OrderPetAcquisitionQuery query, HttpServletRequest request);

    /**
     * 取消订单
     * @param id
     */
    void cancel(Long id);

    /**
     * 确认订单
     * @param orderDto
     */
    void confirm(OrderDto orderDto);
}
